package com.button.boot.netty.server;

import java.net.InetSocketAddress;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.button.boot.netty.server.netty.NettyServerApplication;

@SpringBootApplication
public class SpringbootNettyServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootNettyServerApplication.class, args);
        //启动服务端
        NettyServerApplication nettyServer = new NettyServerApplication();
        nettyServer.start(new InetSocketAddress("127.0.0.1", 8088));
    }
}
